package com.learning.security.core.filter;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

@Data
@Accessors(chain = true)
public class LoginUser {
    public static final String INFO_KEY_NICKNAME = "nickname";
    public static final String INFO_KEY_DEPT_ID = "deptId";

    private Long id;
    private Integer userType;
    private Map<String, String> info;
    private Long tenantId;
    private List<String> scopes;
}
